<include file="Public/header"/>
<style>
.tf_color{
	background-color: #eee;
}
</style>
   <div class="x-body layui-anim layui-anim-up">
        <fieldset class="layui-elem-field">
            <legend>订单信息</legend>
            <div class="layui-field-box">
                <table class="layui-table">
                    <tbody>
                        <tr>
                        	<th style="width:150px;">订单号</th>
                        	<td><font color='green'>{$data["out_trade_no"]}</font></td>
                        </tr>
                        <tr>
                            <th>会员信息</th>
                            <td><img src="{$data['acv']}" width=40 height=40 borlde=0><font color='green'>{$data['nickname']}</font></td></tr>
                        <tr>
                            <th>订单总金额</th>
                            <td><font color='green'>{$data["total_jiner"]}元</font></td></tr>
                        <if condition='$data.is_use_hb eq 2'>    
                        <tr>
                            <th>是否使用红包</th>
                            <td><font color='green'>已使用</font></td></tr>
                        <tr>
                            <th>使用红包金额</th>
                            <td><font color='green'>{$data["hbfee"]}</font>元</td></tr>
                        <else/>
                        <tr>
                            <th>是否使用红包</th>
                            <td><font color='red'>未使用</font></td></tr>                                                     
                        </if>                                
                        <tr>
                            <th>是否使用优惠券</th>
                            <td><font color='green'>{$data["is_use_quan1"]}</font></td>
                        </tr>
                        <if condition="$data.is_use_quan eq 2">
                         <tr>
                            <th>优惠券类型</th>
                            <td><font color='green'>{$data["quan_id"]["quan_type"]}</font></td>
                        </tr>                        
                         <tr>
                            <th>抵用金额</th>
                            <td><font color='green'>{$data["quan_id"]["jiner"]}元</font></td>
                        </tr>
                         <tr>
                            <th>订单金额</th>
                            <td><font color='green'>{$data["quan_id"]["money"]}</font></td>
                        </tr>
                         <tr>
                            <th>截止日期</th>
                            <td><font color='green'>{$data["quan_id"]["end_time"]|date='Y-m-d H:i:s',###}</font></td>
                        </tr>                                               
                        </if>
                        <tr>
                            <th>实付金额</th>
                            <td><font color='green'>{$data["pay_jiner"]}元</font></td>
                        </tr>
                        <tr>
                            <th>订单说明</th>
                            <td><font color='green'>{$data["body"]}</font></td>
                        </tr>                         
                        <tr>
                            <th>收货地址</th>
                            <td><font color='green'>{$data["address"]}</font></td>
                        </tr>                       
                        <tr>
                            <th>联系手机号</th>
                            <td><font color='green'>{$data["mobile"]}</font></td>
                        </tr>
                         <tr>
                            <th>接收人姓名</th>
                            <td><font color='green'>{$data["name"]}</font></td>
                        </tr>
                         <tr>
                            <th>所属线路</th>
                            <td><font color='green'>{$data["quyu_id"]}</font></td>
                        </tr>                                                 
                        <tr>
                            <th>所属小区</th>
                            <td><font color='green'>{$data["xiaoqu_id"]}</font></td>
                        </tr>                         
                        <tr>
                            <th>活动名称</th>
                            <td><font color='green'>{$data["activity_id"]}</font></td>
                        </tr>                         
                        <tr>
                            <th>下单时间</th>
                            <td><font color='green'>{$data["addtime"]|date='Y-m-d H:i:s',###}</font></td>
                        </tr>
                        <if condition="$data.is_pay eq 2">
                        <tr>
                            <th>支付状态</th>
                            <td><font color='green'>已支付</font></td>
                        </tr>                        
                        <tr>
                            <th>支付方式</th>
                            <td><font color='green'>微付支付</font></td>
                        </tr>                       
                        <tr>
                            <th>支付时间</th>
                            <td><font color='green'>{$data["paytime"]|date='Y-m-d H:i:s',###}</font></td>
                        </tr>
                        <else/>
                         <tr>
                            <th>支付状态</th>
                            <td><font color='red'>待支付</font></td>
                        </tr>                       
                        </if>
                         <tr>
                            <th>是否退款</th>
                            <td>
                            <if condition="$data['is_tui'] eq 1">
                            	<font color='green'>未退款</font>
                            <else/>
                                <if condition="$data['tui_status'] eq 1">
                            		<font color='green'>未退款</font>
                            	</if>
                            	<if condition="$data['tui_status'] eq 2">
                            		<font color='red'>已退款</font>
                            	</if>	
                            	<if condition="$data['tui_status'] eq 3">
                            		<font color='red'>拒绝退款</font>
                            	</if>
                            </if>
                            </td>
                        </tr>                        
                         <tr>
                            <th>用户留言</th>
                            <td><font color='green'>{$data["remark"]}</font></td>
                        </tr>
                        <if condition="$data.is_send eq 2">
                        <tr>
                            <th>发货状态</th>
                            <td><font color='green'>已发货</font></td>
                        </tr>                      
                        <tr>
                            <th>发货日期</th>
                            <td><font color='green'>{$data["sendtime"]|date='Y-m-d H:i:s',###}</font></td>
                        </tr>
                        <else/>
                         <tr>
                            <th>发货状态</th>
                            <td><font color='red'>未发货</font></td>
                        </tr>                       
                        </if>                        
                        <tr>
                            <th>是否评价</th>
                            <td><font color='green'><if condition='$data["is_comment"] eq 1'>未评价<else/>已评价</if></font></td>
                        </tr>
                        <tr>
                            <th>是否删除</th>
                            <td><font color='green'><if condition='$data["is_del"] eq 1'>未删除<else/>已删除</if></font></td>
                        </tr>
                        <tr>
                            <th>是否核销</th>
                            <td><font color='green'><if condition='$data["is_complete"] eq 1'>未核销<else/>已核销</if></font></td>
                        </tr>                        
                        <tr>
                            <th>是否关闭</th>
                            <td><font color='green'><if condition='$data["is_close"] eq 1'>未关闭<else/>已关闭</if></font></td>
                        </tr>                                                
                        <foreach name="data['goodsinfo']" item="v">
                        <tr>
                            <th>商品{$key+1}</th>
                            <td><font color='green'><img src='{$v.thumb}' >{$v.name} * {$v.num}&nbsp;&nbsp;商品编码：{$v.code}&nbsp;&nbsp;团购价：{$v.tuan_price}元 &nbsp;&nbsp;市场价：{$v.market_price}元   </font></td>
                        </tr>                        
                        </foreach> 
                                                                                          
                    </tbody>
                </table>
            </div>
        </fieldset>
    </div>
<include file="Public/footer"/>